package blackstar.plugin.ui.vo;

import java.util.ArrayList;
import java.util.List;

public class ThreadTraceInformation
{
	private String threadName;
	private String lockName;
	private String lockOwnerName;
	private long threadId;
	private long blockedCount;
	private long waitedCount;
	private String state;

	private List<String> trades = new ArrayList<String>();

	public String getThreadName()
	{
		return threadName;
	}

	public void setThreadName(String threadName)
	{
		this.threadName = threadName;
	}

	public long getThreadId()
	{
		return threadId;
	}

	public void setThreadId(long threadId)
	{
		this.threadId = threadId;
	}

	public long getBlockedCount()
	{
		return blockedCount;
	}

	public void setBlockedCount(long blockedCount)
	{
		this.blockedCount = blockedCount;
	}

	public long getWaitedCount()
	{
		return waitedCount;
	}

	public void setWaitedCount(long waitedCount)
	{
		this.waitedCount = waitedCount;
	}

	public void setTrades(List<String> trades)
	{
		this.trades = trades;
	}

	public String getState()
	{
		return state;
	}

	public void setState(String state)
	{
		this.state = state;
	}

	public String getLockName()
	{
		return lockName;
	}

	public void setLockName(String lockName)
	{
		this.lockName = lockName;
	}

	public String getLockOwnerName()
	{
		return lockOwnerName;
	}

	public void setLockOwnerName(String lockOwnerName)
	{
		this.lockOwnerName = lockOwnerName;
	}

	public void addTrace(String trace)
	{
		this.trades.add(trace);
	}

	public List<String> getTrades()
	{
		return trades;
	}
}
